package com.wang.ssm;

import com.github.pagehelper.PageHelper;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

import java.util.Properties;

/**
 * @author Lenovo
 */
@SpringBootApplication
@MapperScan("com.wang.ssm.mapper")
public class StudentlxApplication {

    @Bean
      public PageHelper pageHelper() {
        return new PageHelper();
    }
    public static void main(String[] args) {
        SpringApplication.run(StudentlxApplication.class, args);
    }

}
